
public class Token {
	TokenClass type;
	String literal;
	Integer lineNumber;
	String line;


    public Token(TokenClass t, String lit, Integer num, String l){
        type = t;
        literal = lit;
        lineNumber = num;
        line = l;
    }
    
    public Token()
    {
    	
    }
    
    public String toString() {
    	return type.toString() + ": " + literal + " @ " + lineNumber;
    }

	public TokenClass getType() {
		return type;
	}
	public void setType(TokenClass type) {
		this.type = type;
	}
	public String getLiteral() {
		return literal;
	}
	public void setLiteral(String literal) {
		this.literal = literal;
	}
	public Integer getLineNumber() {
		return lineNumber;
	}
	public void setLineNumber(Integer lineNumber) {
		this.lineNumber = lineNumber;
	}
	public String getLine() {
		return line;
	}
	public void setLine(String line) {
		this.line = line;
	}

}
